#include "TcpServer.hpp"

// ./server port
int main(int argc, char *argv[])
{
    // deal with : port
    if (argc != 2)
    {
        std::cout << "instruction error" << std::endl;
        exit(err);
    }
    uint16_t port = std::stoi(argv[1]);
    
    TcpServer ts(port);

    ts.Init();
    ts.Start();

    return 0;
}